projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c1c40
)
(create_process): Test HAVE_SETPGID for using setpgid.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 4 Sep 1996 16:27:55 +0000
(16:27 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 4 Sep 1996 16:27:55 +0000
(16:27 +0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index b33b72019139f6169292ce9bb53f88ae1f33b997..bb68c2b0a1e745fa9dd0df34d721db5af7ecb3ce 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-1437,7
+1437,7
@@
create_process (process, new_argv, current_dir)
/* In order to get a controlling terminal on some versions
of BSD, it is necessary to put the process in pgrp 0
before it opens the terminal. */
-#ifdef
OSF1
+#ifdef
HAVE_SETPGID
setpgid (0, 0);
#else
setpgrp (0, 0);